package com.pw.study.web.bean;

import org.springframework.stereotype.Component;

/**
 * @Author: linux_future
 * @since: 2022/3/15
 **/
@Component
public class MockTask {

    public void mainTask(){
        System.out.println("===============mainTask=============");
        while(true){
            try {
                Thread.sleep(1000);
                System.out.println("88888888888888888888888=========");
            } catch (InterruptedException e) {
                e.printStackTrace();
            }
        }
    }

}
